<?php

class CascadeComponent extends BlueprintComponent {
	
	/**
	 * Enter description here...
	 *
	 * @param HTMLElement $element
	 * @param strinng $field
	 */
	function parse(&$element, $field) {
		$doc = $element->document;
		
		$element->childNodes = array($doc->createPHPTextNode("$${field}"));
	}
}
?>